package com.lzhsite.technology.designPattern.strategy.MailDemo;

public class ClientForMailDemo
{
    public static void main(String[] args)
    {
        MailTemplate mail = new HtmlMail("from@from.com", "to@to.com", "外星人来了", "外星人来了~");
        MailServer mailServer = new MailServer(mail);
        mailServer.sendMail();
    }
}
